#ifndef __GAMEMANAGER_H__
#define __GAMEMANAGER_H__
#include "DxGraphics.h"
#include "DxInput.h"
#include "GameState.h"
#include "GameMenu.h"
#include "GamePlay.h"

class CGameManager
{
	CDxInput *_dxInput;
	CGraphics* _gr;
	CSound* _sound;

	CGameState* _gameMenu;     //Con tro cho man hinh menu
	CGameState* _gamePlay;     //Con tro cho man hinh game play
	CGameState* _gamePointer; //Con tro den state hien tai
public:
	CGameManager();
	~CGameManager();
	bool Init(HINSTANCE,HWND);
	void Run(HWND,DWORD);
	void End();
};

#endif